Package com.netscape.cmsutil.ocsp
Class TBSRequest
java.lang.Object
com.netscape.cmsutil.ocsp.TBSRequest
- All Implemented Interfaces:
org.mozilla.jss.asn1.ASN1Value
RFC 2560:
TBSRequest ::= SEQUENCE { version [0] EXPLICIT Version DEFAULT v1, requestorName [1] EXPLICIT GeneralName OPTIONAL, requestList SEQUENCE OF Request, requestExtensions [2] EXPLICIT Extensions OPTIONAL }
- Version:
- $Revision$ $Date$
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A Template for decoding TBSRequest. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTBSRequest
(org.mozilla.jss.asn1.INTEGER version, org.mozilla.jss.asn1.ANY requestorName, org.mozilla.jss.asn1.SEQUENCE requestList, org.mozilla.jss.asn1.SEQUENCE requestExtensions) -
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(OutputStream ostream) void
encode
(org.mozilla.jss.asn1.Tag implicitTag, OutputStream ostream) int
getRequestAt
(int index) int
org.mozilla.jss.pkix.cert.Extension
getRequestExtensionAt
(int index) org.mozilla.jss.asn1.ANY
org.mozilla.jss.asn1.Tag
getTag()
static TBSRequest.Template
org.mozilla.jss.asn1.INTEGER
-
Field Details
-
TAG
public static final org.mozilla.jss.asn1.Tag TAG
-
-
Constructor Details
-
TBSRequest
public TBSRequest(org.mozilla.jss.asn1.INTEGER version, org.mozilla.jss.asn1.ANY requestorName, org.mozilla.jss.asn1.SEQUENCE requestList, org.mozilla.jss.asn1.SEQUENCE requestExtensions)
-
-
Method Details
-
getVersion
public org.mozilla.jss.asn1.INTEGER getVersion() -
getRequestorName
public org.mozilla.jss.asn1.ANY getRequestorName() -
getRequestCount
public int getRequestCount() -
getRequestAt
-
getExtensionsCount
public int getExtensionsCount() -
getRequestExtensionAt
public org.mozilla.jss.pkix.cert.Extension getRequestExtensionAt(int index) -
getTag
public org.mozilla.jss.asn1.Tag getTag()- Specified by:
getTag
in interfaceorg.mozilla.jss.asn1.ASN1Value
-
encode
- Specified by:
encode
in interfaceorg.mozilla.jss.asn1.ASN1Value
- Throws:
IOException
-
encode
- Specified by:
encode
in interfaceorg.mozilla.jss.asn1.ASN1Value
- Throws:
IOException
-
getTemplate
-